package com.concurrent.chapter1.concurrent05;

public class MyThread extends Thread {
	private Service service;
	public MyThread(Service service) {
		super();
		this.service = service;
	}
	@Override
	public void run() {
		service.sayHello();
	}
}
